import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { AppComponent } from './app.component';
import { IndexViewComponent } from './index-view/index-view.component';
import { DetailViewComponent } from './detail-view/detail-view.component';
import { AppRoutimgModule } from './app-routimg.module';
import { HttpClientModule } from "@angular/common/http";
import { NZ_I18N } from 'ng-zorro-antd/i18n';
import { zh_CN } from 'ng-zorro-antd/i18n';
import { registerLocaleData } from '@angular/common';
import zh from '@angular/common/locales/zh';
import { FormsModule ,ReactiveFormsModule} from '@angular/forms';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzTableModule } from 'ng-zorro-antd/table';
import { NzPaginationModule } from 'ng-zorro-antd/pagination';
import { NzGridModule } from 'ng-zorro-antd/grid';
import { NzSelectModule } from 'ng-zorro-antd/select';
import { NzSpaceModule } from 'ng-zorro-antd/space';
import { NzFormModule } from 'ng-zorro-antd/form';
import {NgxEchartsModule} from 'ngx-echarts';
registerLocaleData(zh);
@NgModule({
  declarations: [
    AppComponent,
    IndexViewComponent,
    DetailViewComponent,

  ],
  imports: [
    BrowserModule,
    AppRoutimgModule,
    HttpClientModule,
    FormsModule,
    BrowserAnimationsModule,
    NzButtonModule,
    NzTableModule,
    NzPaginationModule,
    NzGridModule,
    NzSelectModule,
    NzSpaceModule,
    NzFormModule,
    ReactiveFormsModule,
    NgxEchartsModule
  ],
  providers: [{ provide: NZ_I18N, useValue: zh_CN }],
  bootstrap: [AppComponent]
})
export class AppModule { }
